﻿@model SampleApp.Web.SysModule.Models.UserInfoModel
@{
    Layout = "/Default/Views/Shared/_EditLayout.cshtml";
    ViewBag.Title = "用户角色信息";
}

<div>
当前用户的角色:
<p/>
@foreach (var item in COM.Web.Unity.Instance.GetService<SampleApp.Web.Service.IRuntime>().Permission.CurrentUser.RoleNameList)
{
    @:<p/>
    @item
}
</div>

<div style="margin-top:20px;">
    @Html.ActionLink("返回列表", "List")
</div>
